<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: QQtJsonTreeModel Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_q_qt_json_tree_model-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QQtJsonTreeModel Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for QQtJsonTreeModel:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_q_qt_json_tree_model.png" usemap="#QQtJsonTreeModel_map" alt=""/>
  <map id="QQtJsonTreeModel_map" name="QQtJsonTreeModel_map">
<area href="class_q_qt_tree_model.html" alt="QQtTreeModel" shape="rect" coords="0,56,130,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7e0e021a7459e3349e76fdd53791d6ab"><td class="memItemLeft" align="right" valign="top"><a id="a7e0e021a7459e3349e76fdd53791d6ab"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QQtJsonTreeModel</b> (QObject *parent=0)</td></tr>
<tr class="separator:a7e0e021a7459e3349e76fdd53791d6ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a26861ebe5884c4c35acd8421f51ed7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_qt_json_tree_model.html#a9a26861ebe5884c4c35acd8421f51ed7">query</a> (QString condition) override</td></tr>
<tr class="memdesc:a9a26861ebe5884c4c35acd8421f51ed7"><td class="mdescLeft">&#160;</td><td class="mdescRight">query  <a href="#a9a26861ebe5884c4c35acd8421f51ed7">More...</a><br /></td></tr>
<tr class="separator:a9a26861ebe5884c4c35acd8421f51ed7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fe67b3b54a3f8c067fdb9ccdb84e553"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_qt_json_tree_model.html#a5fe67b3b54a3f8c067fdb9ccdb84e553">setFilePath</a> (QString xmlfile) override</td></tr>
<tr class="memdesc:a5fe67b3b54a3f8c067fdb9ccdb84e553"><td class="mdescLeft">&#160;</td><td class="mdescRight">setFilePath  <a href="#a5fe67b3b54a3f8c067fdb9ccdb84e553">More...</a><br /></td></tr>
<tr class="separator:a5fe67b3b54a3f8c067fdb9ccdb84e553"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_q_qt_tree_model"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_q_qt_tree_model')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_q_qt_tree_model.html">QQtTreeModel</a></td></tr>
<tr class="memitem:aeee86f063c41860bd235ad84cfc6b77d inherit pub_methods_class_q_qt_tree_model"><td class="memItemLeft" align="right" valign="top"><a id="aeee86f063c41860bd235ad84cfc6b77d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QQtTreeModel</b> (QObject *parent=0)</td></tr>
<tr class="separator:aeee86f063c41860bd235ad84cfc6b77d inherit pub_methods_class_q_qt_tree_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ad7068ddf98be2ac2a2c9ae1a11bb1444"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_qt_json_tree_model.html#ad7068ddf98be2ac2a2c9ae1a11bb1444">parseChildElement</a> (const QDomElement &amp;element, QStandardItem *itemParent=0)</td></tr>
<tr class="memdesc:ad7068ddf98be2ac2a2c9ae1a11bb1444"><td class="mdescLeft">&#160;</td><td class="mdescRight">parseChildElement  <a href="#ad7068ddf98be2ac2a2c9ae1a11bb1444">More...</a><br /></td></tr>
<tr class="separator:ad7068ddf98be2ac2a2c9ae1a11bb1444"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ad7068ddf98be2ac2a2c9ae1a11bb1444"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7068ddf98be2ac2a2c9ae1a11bb1444">&#9670;&nbsp;</a></span>parseChildElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QQtJsonTreeModel::parseChildElement </td>
          <td>(</td>
          <td class="paramtype">const QDomElement &amp;&#160;</td>
          <td class="paramname"><em>element</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QStandardItem *&#160;</td>
          <td class="paramname"><em>itemParent</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>parseChildElement </p>
<p><a class="el" href="class_q_qt_xml_tree_model.html#af93441ab5f1d8d0c91c4bbab42f4d690" title="parseChildElement ">QQtXmlTreeModel::parseChildElement</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">element</td><td></td></tr>
    <tr><td class="paramname">element</td><td></td></tr>
    <tr><td class="paramname">parent</td><td>这套递归代码，第一次和最后一次不同。 </td></tr>
  </table>
  </dd>
</dl>
<p>element name</p>
<p>element attibute</p>
<p>more than two column need this</p>
<p>child element</p>

</div>
</div>
<a id="a9a26861ebe5884c4c35acd8421f51ed7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a26861ebe5884c4c35acd8421f51ed7">&#9670;&nbsp;</a></span>query()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QQtJsonTreeModel::query </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>condition</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>query </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">condition</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Reimplemented from <a class="el" href="class_q_qt_tree_model.html#aacd492ce920be939d95d7e1bc2978cb1">QQtTreeModel</a>.</p>

</div>
</div>
<a id="a5fe67b3b54a3f8c067fdb9ccdb84e553"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fe67b3b54a3f8c067fdb9ccdb84e553">&#9670;&nbsp;</a></span>setFilePath()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QQtJsonTreeModel::setFilePath </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>setFilePath </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="class_q_qt_tree_model.html#acfeea0d58fa29b1c34c1491f6a8f0b7c">QQtTreeModel</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>R:/Develop/a0-develop/LibQQt/src/gui/<a class="el" href="qqtjsontreemodel_8h_source.html">qqtjsontreemodel.h</a></li>
<li>R:/Develop/a0-develop/LibQQt/src/gui/qqtjsontreemodel.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
